package top.liebes;

import java.io.FileNotFoundException;
import java.util.List;
import java.util.Map;

/**
 * 需要先把所有的excel中分数为空的变成0
 */
public class Main {
    public static void main(String[] args) {
        try {
            String filepath = "/Users/liebes/Desktop/2022全体成绩.xls";
            ReadExcelUtils excelReader = new ReadExcelUtils(filepath);
            Map<Integer, Map<Integer, Object>> map = excelReader.readExcelContent();
            Score score = new Score();
            score.calculate(map);
        } catch (FileNotFoundException e) {
            System.out.println("未找到指定路径的文件!");
            e.printStackTrace();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
